package com.wk.common;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UserInfo {

	/**
	 * 用户名
	 */
	private String name;

	/**
	 * 头像图片
	 */
	private String avatar = "/avatar2.jpg";

	/**
	 * 角色的权限
	 */
	private Permissions role;

	public UserInfo(String name, Permissions role) {
		this.name = name;
		this.role = role;
	}

}
